# Refactored by Brendan
# Moved elements of moveBiship() function to new file


def moveBishopRefactored(board, fromPos,toPos):

	if board._board[toPos[1]][toPos[0]] == ".":
            board._fifty+=1
	else:
		board._fifty=0
		board._cur_move[3]=True
                       
	board._board[toPos[1]][toPos[0]] = board._board[fromPos[1]][fromPos[0]]
	board._board[fromPos[1]][fromPos[0]] = "." 